Add live addon docker image upgrade test#1
Closed
anamehra wants to merge 3771 commits into
Closed
Conversation
Co-authored-by: Aakash Tiwari <aaktiwar@cisco.com>
…unction in infra/hw_setup_utils.py (sonic-net#2398)
…ic-net#2216) Co-authored-by: Anand Mehra (anamehra) <anamehra@cisco.com>
…g files to master (sonic-net#2382) Signed-off-by: sdashora <sdashora@cisco.com> Co-authored-by: rraguraj <rraguraj@cisco.com>
…r temperature fault injection. (sonic-net#2380)
…c-net#2396) Co-authored-by: Ayushi Srivastava <ayushisr@cisco.com>
…sonic-net#2395) Co-authored-by: Ayushi Srivastava <ayushisr@cisco.com>
…ctions, and spine3 (laguna) (sonic-net#2342)
…ssion to master (sonic-net#2412) Co-authored-by: Ayushi Srivastava <ayushisr@cisco.com>
…stbed overview" (sonic-net#2427) Co-authored-by: Siva Prasad Reddy Mekala Konda (smekalak) <smekalak@cisco.com>
Co-authored-by: Akasha Roy <akroy@sjc-ads-6593.cisco.com>
…ut config deployment automation (sonic-net#2278) Co-authored-by: Perumal Venkatesh (pevenkat) <pevenkat@cisco.com>
…( same as t1-64-lag ) (sonic-net#2454)
…ours. (sonic-net#3520) Co-authored-by: Cursor <cursoragent@cursor.com>
… at report time (sonic-net#3033) Co-authored-by: Cursor <cursoragent@cursor.com>
…ipelines. (sonic-net#3461) Co-authored-by: Cursor <cursoragent@cursor.com>
…affic-readiness wait and skip unreliable warmboot tests (sonic-net#3535) Co-authored-by: Venkata Gouri Rajesh Etla (vrajeshe) <vrajeshe@cisco.com>
…handling (sonic-net#3552) Signed-off-by: Peter Piao <ppiao@cisco.com>
…11.1/202605 images (sonic-net#3545) Signed-off-by: Yuriy Harhas <yharhas@cisco.com>
… failures in do_sonic_test_env_setup.py (sonic-net#2913)
…nic-net#3413) Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Venkata Gouri Rajesh Etla (vrajeshe) <vrajeshe@cisco.com>
Require apply_image_tag_to_config before upgrade pulls, run version_matrix before destructive teardown, and document upgrade flow, skips, and coverage in the HLD. Co-authored-by: Cursor <cursoragent@cursor.com>
Fix config-reload table wording, clarify upgrade skip timing, add prepare step to the upgrade flow diagram, and list the upgrade test in scope. Co-authored-by: Cursor <cursoragent@cursor.com>
Remove pre-test prepare teardown, compare baseline vs upgrade image_ref before any DUT steps, and run finally cleanup only after baseline install succeeds. Update HLD upgrade flow and skip timing to match. Co-authored-by: Cursor <cursoragent@cursor.com>
anamehra
force-pushed
the
anamehra/live_addon_upgrade
branch
from
June 30, 2026 19:50
cbf7228 to
1e844d9
Compare
anamehra
force-pushed
the
anamehra/live_addon_upgrade
branch
from
July 7, 2026 22:40
1e844d9 to
fbc5f12
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--live_addon_docker_image_upgrade_tagfor the upgrade target while keeping--live_addon_docker_image_tagas the baseline tag.version_matrix, run the container, verify post-start readiness, and check HTTP health.Validation
3 passedforlive_addon_docker/test_live_addon_docker.py.git diff --check origin/master...HEADpython3 -m py_compile tests/live_addon_docker/conftest.py tests/live_addon_docker/live_addon_docker_helpers.py tests/live_addon_docker/test_live_addon_docker.pyNotes
image_reffrom config.version_matrixcheck runs after registry pull and before destructive teardown, so an incompatible upgrade leaves the prior container running.